<?php
declare (strict_types=1);

namespace Plugin\Alarm\Model;

use Mine\MineModel;

class RdAlarmWorkApply extends MineModel
{
    /**
     * The table associated with the model.
     *
     * @var string|null
     */
    protected ?string $table = 'rd_alarm_work_apply';
    
    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected array $fillable = [
        'id', 'work_id', 'user_id', 'status', 'remark', 'handle_remark', 'created_by', 'updated_by', 'created_at', 'updated_at'
    ];
    
    /**
     * The attributes that should be cast to native types.
     *
     * @var array
     */
    protected array $casts = [
        'id' => 'integer',
        'work_id' => 'integer',
        'user_id' => 'integer',
        'status' => 'integer',
        'remark' => 'string',
        'handle_remark' => 'string',
        'created_by' => 'integer',
        'updated_by' => 'integer',
        'created_at' => 'datetime',
        'updated_at' => 'datetime',
    ];
}